package com.zjhn.ds.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.param
 * @Author: sxt
 * @CreateTime: 2023-09-13  08:13
 * @Description:
 * @Version: 1.0
 */
@Data
public class AddUpdateTypeParam {

    @ApiModelProperty("类别id，空表示新增")
    @JsonProperty("type_id")
    private String typeId;

    @ApiModelProperty("类别名称")
    @JsonProperty("type_name")
    @NotBlank(message = "类别名称不能为空")
    private String typeName;
}
